<?php


if (is_file('./public/Data/install.lock')){
    echo "<script type='text/javascript'>window.location.href ='./public/index.php/login';</script>";
} else {
    echo "<script type='text/javascript'>window.location.href ='./public/index.php/install';</script>";
}